treeviewcolumn: Redo sort arrows
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Jan 2021 21:11:57 +0000 (16:11 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Jan 2021 19:02:16 +0000 (14:02 -0500)
commit2100e427d91342108fb25d4f1fea551c54270a3e
treeb577a52b97eb37da2cd9604cb76bd4c782f99c4a
parent2550d6dc63ff8be84432a1aa683c506c2f9df962
treeviewcolumn: Redo sort arrows

Instead of hardcoding icon names in the widget, use
sort-indicator.ascending and sort-indicator.descending styles
and set the icon to use with -gtk-icon-source. This lets themes
change the icon that is used here, without forcing all uses of
pan-up/down-symbolic to be treated the same.

Document this in the treeview CSS docs.

Fixes: #3577
gtk/gtktreeview.c
gtk/gtktreeviewcolumn.c
gtk/theme/Adwaita/_common.scss